// 订单趋势
var option = {
	title: {
		text: '订单趋势',
	},
	tooltip: {
		trigger: 'axis',
		axisPointer: {
			type: 'line',
		},
	},
	xAxis: {
		type: 'category',
		data: [], // ['03.20', '03.21'],
	},
	yAxis: {
		type: 'value',
	},
	series: [
		{
			type: 'line',
			smooth: true,
			data: [], // [260, 406]
		},
	],
}


// 订单状态
var option = {
	title: {
		text: '订单状态',
	},
	tooltip: {
		trigger: 'item',
		formatter: '{b} : {c} ({d}%)',
	},
	legend: {
		orient: 'vertical',
		left: 'right',
		data: [],
	},
	series: [
		{
			name: '订单状态',
			type: 'pie',
			radius: '55%',
			center: ['50%', '60%'],
			// data: [
			//     {value: 335, name: '直接访问'},
			//     {value: 310, name: '邮件营销'},
			//     {value: 234, name: '联盟广告'},
			//     {value: 135, name: '视频广告'},
			//     {value: 1548, name: '搜索引擎'}
			// ],
			data: [],
			emphasis: {
				itemStyle: {
					shadowBlur: 10,
					shadowOffsetX: 0,
					shadowColor: 'rgba(0, 0, 0, 0.5)',
				},
			},
		},
	],
}